<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Blogmer Documentation</title>

<style type='text/css' media='all'>@import url('../css/userguide.css');</style>
<link rel='stylesheet' type='text/css' media='all' href='../css/userguide.css' />

<meta http-equiv='expires' content='-1' />
<meta http-equiv= 'pragma' content='no-cache' />
<meta name='robots' content='all' />
</head>
<body>
<!-- START NAVIGATION -->
<div id="nav"><div id="nav_inner"></div></div>
<div id="nav2"><a name="top">&nbsp;</a></div>
<div id="masthead">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td><h1>Blogmer beta 2</h1></td>
<td id="breadcrumb_right"><a href="table_of_content.html">Table of contents</a></td>
</tr>
</table>
</div>
<!-- END NAVIGATION -->


<!-- START BREADCRUMB -->
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
<td id="breadcrumb">
  <p><a href="http://speedovation.org/" >Speedovation</a> &nbsp;&#8250;&nbsp;
      <a href="../index.html">User Guide Home</a> &nbsp;&#8250;&nbsp;
    Table of contents</p>
  </td>

</tr>
</table>
<!-- END BREADCRUMB -->

<br clear="all" />

<!-- START CONTENT -->
<div id="content">
  <h1>Application MVC Structure</h1>
<ul>
  <li><mfunc>Controllers</mfunc></li>
  <li><mfunc>Models</mfunc></li>
  <li><mfunc>Views</mfunc></li>
  <li><mfunc>Helpers</mfunc></li>
  <li><mfunc>Libraries</mfunc></li>
</ul>
<h2>Controllers</h2>
<ul>
	<li><mfunc>Blog</mfunc>
	  <a name="blog" id="blog"></a>
	  <ul>
	    <li><func>index</func>:collection of latest posts </li>
        <li><func>category</func>
        : collection of latest posts based on category </li>
	    <li><func>archives</func>
	      : collection of latest posts based on date<br />
	    </li>
	    <li><func>post</func>: gives all details of a single post (blog)</li>
	    <li><func>page</func>: gives all details of a single page</li>
	    <li><func>search</func>
	      :search a keyword with a where location such as post,page,tags<br />
	    </li>
	    <li><func>do_search</func>: search processor</li>
      </ul>
	</li>
	<li><mfunc>Users</mfunc>
	  <a name="users" id="users"></a>
	  <ul>
	    <li><func>Register</func> : loads a register form</li>
        <li><func>ForgetPassword</func>: loads forget password form</li>
	    <li><func>Logout</func>: Kill all users session.</li>
	  </ul>
	</li>
    <li><mfunc>Feed</mfunc>
      <a name="feed" id="feed"></a>
      <ul>
        <li><func>rss</func>: generate RSS 2 feed</li>
        <li><func>atom</func>: generate atom feed</li>
      </ul>
    </li>
    <li><mfunc>Admin</mfunc>
      <a name="admin" id="admin"></a>
      <ul>
        <li><func>index</func> 
        : Loads admin dashboard.</li>
        <li><func>Logout</func>
        : Kills current admin session.</li>
        <li><func>GeneralSettings</func>
        : 
          All points underneath are subpoints.
          <ul>
            <li>BLOG Name</li>
            <li>BLOG Title              </li>
            <li>BLOG Maintained By</li>
            <li>              Can guest browse blog</li>
            <li> 	
              Show Recent Comments              </li>
            <li>Show Recent Posts              </li>
            <li>Show Calendar              </li>
            <li>Enable Comments              </li>
            <li>Enable Registration              </li>
            <li>Enable Guest Comment</li>
          </ul>
        </li>
        <li><func>AdvancedSettings</func>
          : All points underneath are subpoints.
            <ul>
            <li>New User Default Role</li>
            <li>Show Categories              </li>
            <li>Show Archives              </li>
            <li>Send Mail To New Users</li>
            <li> Send Registration Message              </li>
            <li>Number Of Posts Home</li>
            <li>              Number of Posts Archives</li>
          </ul>
        </li>
        <li><func>CreateBlog</func>
          : create a new blog</li>
        <li><func>ManageBlogs($page_id=1)</func> 
          : view, Edit, delete already existing blogs.</li>
        <li><func>DeleteBlog($post_id,$page_id,$post_title)</func>
          : delete a current blog of $post_id  and redirect it to $page_id</li>
        <li><func>EditBlog($post_id,$page_id=1)</func>
          : Edit a blog of $post_id and redirect it to $page_id</li>
        <li><func>CreatePage()</func> 
          : Create a new page.</li>
        <li><func>ManagePages($page_id=1)</func>
          : view, Edit, delete already existing pages.</li>
        <li><func>DeletePage($id,$page_id)</func>
          : 
        delete a current blog of $id  and redirect it to $page_id</li>
        <li><func>EditPage($blogpage_id,$page_id=1)</func>
Edit a page of $blogpage_id and redirect it to $page_id</li>
        <li><func><a name="manageusers" id="manageusers"></a>ManageUsers($page_id=1)</func>
          :  view, activate, decativate, Edit, delete already existing users..</li>
        <li><func>CreateUser()</func>
          : Create a new user</li>
        <li><func>DeleteUser($id,$page_id)</func> 
          : Delete a user of $id  and redirect it to $page_id</li>
        <li><func>EditUser($user_id,$page_id=1)</func>
          : Edit a user of $user_id and redirect it to $page_id</li>
        <li><func>ActivateUser($id,$page_id)</func>
          : Activate a user so that user can access member level features.</li>
        <li><func>DeactivateUser($id,$page_id)</func>
          : Opposite of activate.</li>
        <li><func>CreateCategory()</func> 
          : Create a new category</li>
        <li><func>ManageCategories($page_id=1)</func> 
          :   View,  Edit, delete already existing categories</li>
        <li><func>EditCategory($cat_id,$page_id=1)</func>
        : Edit a category of $cat_id and redirect it to $page_id</li>
        <li><func>DeleteCategory($cat_id,$page_id=1)</func> 
          :  Delete a category of $cat_id  and redirect it to $page_id</li>
        <li><func>ManageComments($page_id=1)</func>
: View,  Edit, delete already existing comments.</li>
        <li><func>EditComment($comment_id,$page_id=1)</func>
          :  Edit a comment of $comment_id and redirect it to $page_id</li>
        <li><func>DeleteComment($comment_id,$page_id=1)</func>
          :   Delete a comment of $comment_id  and redirect it to $page_id</li>
        <li><func>Themes()</func>
          : Access theme sectionand <em>Saves theme name and theme folder name into database.</em></li>
     </ul>
    </li>
    <li><mfunc>Login</mfunc>
      <a name="login" id="login"></a>
      <ul>
        <li><func>MemberLogin</func>
          : member login</li>
        <li><func>admin_login</func> 
          : admin login</li>
      </ul>
    </li>
  </ul>

<h2>Models</h2>
<ul>
  <li><folder>admin </folder>
    <ul>
      <li><func>Posts_model</func></li>
      <li><func>Pages_model</func></li>
      <li><func>Users_model</func></li>
       <li><func>Comments_model</func></li>
       <li><func>Settings_model</func></li>
       <li><func>Categories_model</func></li>


    </ul>
  </li>
  <li><folder>general </folder>
    <ul>
      <li><func>Main_model</func></li>
      <li><func>Sidebar_model</func></li>
    </ul>
</li>
</ul>

<h2>Views</h2>
<ul>
  <li><func>main</func></li>
  <li><func>info</func></li>
  <li>
    <folder>admin </folder>
    <ul>
      <li><func>user_add</func></li>
        <li><func>user_edit</func></li>
        <li><func>cat_add</func></li>
        <li><func>cat_edit</func></li>
        <li><func>blog_add</func></li>
        <li><func>blog_edit</func></li>
        <li><func>page_add</func></li>
        <li><func>page_edit</func></li>
        <li><func>comment_edit</func></li>
        <li><func>info</func></li>
        <li><func>login</func></li>
        <li><func>main</func></li>
        <li><func>themes</func></li>
        <li><func>settings_general</func></li>
        <li><func>settings_advanced</func></li>
        <li><func>dashboard</func></li>
      </ul>
  </li>
  <li><folder>feed</folder>
      <ul>
        <li><func>feed_rss2</func></li>
        <li><func>feed_atom</func></li>
      </ul>
    </li>
   <li><folder>general</folder>
      <ul>
        <li><func>about</func></li>
        <li><func>help</func></li>
        <li><func>license</func></li>
        <li><func>team</func></li>
      </ul>
    </li> 
     <li><folder>users</folder>
      <ul>
        <li><func>comment_add</func></li>
        <li><func>forget_password</func></li>
        <li><func>login</func></li>
        <li><func>registration</func></li>
      </ul>
    </li> 
     <li><folder>required</folder>
      <ul>
        <li><func>search_form</func></li>
        <li><func>search_form_full</func></li>
      </ul>
    </li> 
    </ul>
<h2>Helpers</h2>
<ul>
      <li><func>blog_helper</func></li>
      <li><func>MY_url_helper</func></li>
      <li><func>search_helper</func></li>
</ul>
<h2>Libraries</h2>
<ul>
    <li><func>MY_pagination</func></li>
 </ul>
</div>
<!-- END CONTENT -->


<div id="footer">
<p><a href="#top">Top of Page</a></p>
<p><a href="http://speedovation.com">Speedovation</a> &nbsp;&middot;&nbsp; Copyright &#169; 2007-2008 &nbsp;&middot;&nbsp; <a href="http://speedovation.org/">Blogmer</a></p></div>

</body>
</html>